package com.study.mybatis.mapper;

import com.study.mybatis.entities.Role;
import com.study.mybatis.entities.User;

import java.util.List;

/**
 * @Name: UserMapper
 * @Description: java类作用描述
 * @Author: yn
 * @CreateDate: 2021/12/30 16:01
 * @Remark: 特殊说明
 * @Version: 1.0
 */
public interface UserMapper {
    List<Role> getRolesByUid(Integer id);

    User loadUserByUsername(String username);
}
